using StudyCompanion.Core.Enum;

namespace StudyCompanion.IServices;

public interface IWalletLogService
{
    /// <summary>
    ///     写入钱包日志
    /// </summary>
    /// <param name="userId">用户ID</param>
    /// <param name="actionEnum">钱包操作（枚举）</param>
    /// <param name="typeEnum">操作类型（枚举）</param>
    /// <param name="changeCount">变化数量</param>
    /// <param name="orderId">关联订单ID</param>
    /// <param name="describe">描述</param>
    /// <param name="tableId">其他关联数据ID</param>
    void WriteWalletLog(long userId, WalletActionEnum actionEnum,
        WalletTypeEnum typeEnum, decimal changeCount, long? orderId, string? describe, long? tableId);
}